
package usyd.comp5348;

import javax.ejb.Remote;


/**
 * This is the business interface for OrderFacade enterprise bean.
 */
@Remote
public interface OrderFacadeRemote {

    void deleteOrder(int id);

    void submitOrder(int id) throws OrderException;

    Order getOrderById(int id);

    void updateOrderStatus(int id, int newStatus)throws OrderException;
    
    void validateOrder(Order ord) throws OrderException;

    int createOrder(Order ord) throws OrderException;

    float calculateOrderCost(Order ord);

    void modifyOrder(Order ord) throws OrderException;

    void submitOrder(Order ord) throws usyd.comp5348.OrderException;
    
}
